package com.wcpdoc.exam.core.service;

import com.wcpdoc.core.service.BaseService;
import com.wcpdoc.exam.core.entity.MyMockQuestion;

import java.util.List;

/**
 * 我的试题服务层接口
 * 
 */
public interface MyMockQuestionService extends BaseService<MyMockQuestion>{
	/**
	 * 获取我的试题
	 * 
	 * @param examId
	 * @param userId
	 * @param questionId
	 * @return MyMockQuestion
	 */
	MyMockQuestion getMyMockQuestion(Integer examId, Integer userId, Integer questionId);

	/**
	 * 获取我的试题
	 * 
	 * @param examId
	 * @param userId
	 * @return List<MyMockQuestion>
	 */
	List<MyMockQuestion> getList(Integer examId, Integer userId);

	/**
	 * 我的试题清理
	 * 
	 * @param examId void
	 */
	void clear(Integer examId);
}
